package com.ssy.lingxi.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 商品管理服务启动类
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/6/19
 */
@EnableAsync
@EnableFeignClients(basePackages = {"com.ssy.lingxi.**.api","com.ssy.lingxi.feign"})
@ComponentScan(basePackages = {"com.ssy.lingxi"})
@EnableDiscoveryClient
@SpringBootApplication
public class ProductServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductServiceApplication.class, args);
    }
}
